<template>
  <div>
    <div class="dy-header">
      <p>给我们留言</p>
      <van-icon name="arrow-down" size="20" @click="back"/>
    </div>

    <div class="dy-text">
        您好，很抱歉我们暂时无法为您提供服务，如需帮助，请留言，
        我们将尽快联系并解决您的问题
    </div>
    
    <ul class="dy-list">
        <li>
            <div class="dy-sj">手机</div>
            <input type="text" class="dy-inp" placeholder="请输入">
        </li>
        <li>
            <div class="dy-nr">留言内容<span>*</span></div>
            <textarea placeholder="请输入" class="dy-tex"></textarea>
        </li>
    </ul>

    <div class="dy-btn">
        <a href="#" class="dy-aa" height="40px" width="100%"><span>提交</span></a>
    </div>
  </div>
</template>

<script>
export default {
  name: "",
  data() {
    return {};
  },
  props: [],
  components: {},
  mounted() {},
  methods: {
      back(){
          this.$router.go(-1)
      }
  }
};
</script>

<style scoped>
.dy-header {
  width: 100%;
  height: 60px;
  background: rgb(0, 122, 255);
  color: #fff;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 10px;
  font-size: 14px;
}
.dy-header > p {
  width: 390px;
}
.dy-text{
    font-size: 12px;
    color: rgb(102, 102, 102);
    word-break: break-all;
    padding: 16px;
}
.dy-list>li{
    margin-bottom: 16px;
}
.dy-sj{
    color: rgb(68, 68, 68);
    font-size: 12px;
    padding: 0px 0px 6px 16px;
}
.dy-inp{
    width: 100%;
    height: auto;
    padding: 12px;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
}
.dy-nr{
    color: rgb(68, 68, 68);
    font-size: 12px;
    padding: 0px 0px 6px 16px;
}
.dy-nr>span{
    color: rgb(255, 92, 94);
    padding: 0px 3px;
}
.dy-tex{
    display: block;
    width: 100%;
    height: 90px;
    overflow-x: hidden;
    overflow-y: auto;
    resize: none;
    background-color: rgb(255, 255, 255);
    word-break: break-all;
    font-size: 12px;
    -webkit-appearance: none;
    padding: 12px 16px;
    outline: 0px;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
}
.dy-btn{
    padding: 0px 20px 20px;
}
.dy-aa{
    width: 100%;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    vertical-align: middle;
    font-size: 13px;
    cursor: pointer;
    text-align: center;
    opacity: 1;
    color: white;
    border-width: 0px;
    border-style: initial;
    border-color: initial;
    border-image: initial;
    outline: none;
    border-radius: 3px;
    text-decoration: none;
    background: rgb(0, 122, 255);
}
</style>